package com.edu.exam.enums.examination.paper;

/**
 * 模板状态枚举
 *
 * 从AnswerSheetTemplate实体类中提取的独立枚举
 *
 * @author System
 * @version 1.0.0
 */
public enum TemplateStatus {
    DRAFT("草稿"),
    PENDING_REVIEW("待审核"),
    UNDER_REVIEW("审核中"),
    APPROVED("已批准"),
    REJECTED("已拒绝"),
    PUBLISHED("已发布"),
    ARCHIVED("已归档"),
    DEPRECATED("已废弃"),
    ACTIVE("活跃"),
    INACTIVE("非活跃"),
    LOCKED("已锁定"),
    UNLOCKED("已解锁"),
    SUSPENDED("已暂停"),
    DELETED("已删除"),
    UNDER_MODIFICATION("修改中"),
    PENDING_APPROVAL("待批准"),
    PENDING_PUBLICATION("待发布"),
    PENDING_ARCHIVAL("待归档"),
    EXPIRED("已过期");

    private final String description;

    TemplateStatus(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    /**
     * 获取显示名称（中文）
     *
     * @return 中文显示名称
     */
    public String getDisplayName() {
        return description;
    }
}